# 导包

#组装测试套件
import time
import unittest

from lib.HTMLTestRunner_PY3 import HTMLTestRunner

import app
from script.test_01 import TestAdd

suite=unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestAdd))
#指定报告路径及名称
report="report.html"
#打开文件
with open(report,"wb")as f:
    # 创建runner
    runner=HTMLTestRunner(f)
    #运行suite
    runner.run(suite)